home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / Fresco / build / Unix / config / cf / sgi.cf < prev    next >
Text File  |  1995-07-12  |  3KB  |  99 lines

  1. XCOMM platform:  $XConsortium: sgi.cf,v 1.43 94/06/03 21:38:45 matt Exp $
  2.  
  3. #define OSName            IRIX 5.2
  4. XCOMM operating system:  OSName
  5. #define OSMajorVersion        5
  6. #define OSMinorVersion        2
  7. #define OSTeenyVersion          0
  8.  
  9. #if OSMajorVersion < 4
  10. /* We do not guarantee this will work */
  11. #define BootstrapCFlags   -DX_WCHAR -DX_LOCALE -DX_USEBFUNCS -DSYSV
  12. #define StandardDefines   -DX_WCHAR -DX_LOCALE -DX_USEBFUNCS -DSYSV
  13. #endif
  14.  
  15. #define SystemV            YES
  16. #define HasPutenv        YES
  17. #define ExecableScripts        YES
  18. #if OSMajorVersion > 3
  19. #define SetTtyGroup        YES
  20. #else
  21. #define SetTtyGroup        NO
  22. #endif
  23. #define HasNdbm            YES
  24. #define HasPoll                 YES
  25. #define Malloc0ReturnsNull    YES
  26. #define ExpandManNames          YES
  27. #define BuildXInputExt        YES
  28.  
  29. #if OSMajorVersion > 3 || (OSMajorVersion == 3 && OSMinorVersion > 2)
  30. #define NeedVarargsPrototypes    YES
  31. #define NeedConstPrototypes    YES
  32. #define NeedWidePrototypes    NO
  33. #endif
  34.  
  35. #if OSMajorVersion > 4
  36. #define HasWChar32              YES
  37. #define XawI18nDefines        -DHAS_WCTYPE_H
  38. #endif
  39.  
  40. /* Extra libraries provide : yp, sysV malloc, shared libc, and widechar */
  41. #define ExtraLibraries -lsun -lmalloc -lc_s -lw
  42.  
  43. /* #include <sgiLib.rules> */
  44.  
  45. #define SymbolTables -Wf,-XNp9000,-XNd8000,-XNh2000
  46. #define PexSymbolTables -Wf,-XNp15000,-XNd15000,-XNh2000
  47. #define ServerSymbolTables -Wf,-XNp8000,-XNh2000,-XNd8000
  48.  
  49. /* this is for floating point, ANSI cpp */
  50. #define sgiCCOptions -xansi -D__STDC__=1 -float
  51. #define DefaultCCOptions sgiCCOptions SymbolTables
  52. #define PexCCOptions sgiCCOptions PexSymbolTables
  53. #define ServerCCOptions sgiCCOptions ServerSymbolTables
  54.  
  55. /* For SGI C++ compiler, need to search extra dirs in make depend */
  56. #ifndef CplusplusDependIncludes
  57. #define CplusplusDependIncludes -I/usr/include/CC
  58. #endif
  59.  
  60. /* At SGI, we don't need this */
  61. #define ConstructMFLAGS        NO    /* build MFLAGS from MAKEFLAGS */
  62.  
  63. /* Used only for compressed fonts */
  64. #define UNCOMPRESSPATH /usr/bsd/uncompress
  65.  
  66. /* Normally used only to conditionally chose the default font path order */
  67. #define PrimaryScreenResolution 96
  68.  
  69. /* Override Imake.tmpl's "-X" flag */
  70. #define LdCombineFlags -r
  71.  
  72. /* Installation Build Parameters */
  73. #define InstKmemFlags -m 2755 -g sys
  74.  
  75. #define ArCmd ar scq
  76.  
  77. /* for xdm or anyone else to use */
  78. #define DefaultUserPath :/usr/sbin:/usr/bsd:/usr/bin:/bin:$(BINDIR):/etc:/usr/etc
  79. #define DefaultSystemPath /usr/sbin:/usr/bsd:/bin:/etc:/usr/bin:/usr/etc:$(BINDIR)
  80.  
  81. #define BuildServer             NO
  82. #define ServerOSDefines -DDDXTIME
  83. /* only need this for binary compatibility with their ddx */
  84. #define ServerExtraDefines -DNEED_LINEHELPER
  85.  
  86. /* Changed to a single shell command for pmake/smake */
  87. /*
  88.  * NormalLibObjCompile - compile fragment for a library object file
  89.  *     do ld -x to remove line number symbols for libraries
  90.  */
  91. #define    NormalLibObjCompile(options) $(RM) $@ $*.os \            @@\
  92.     && $(CC) -c options $(CFLAGS) $*.c \                @@\
  93.     && $(LD) $(LDSTRIPFLAGS) -r $@ -o $*.os \            @@\
  94.     && $(MV) $*.os $@
  95.  
  96. #define    LibObjCompile(dir,options) $(RM) $@ dir/$@ \            @@\
  97.     && $(CC) -c $(CCOPTIONS) $(ALLDEFINES) options $*.c \        @@\
  98.     && $(MV) $@ dir/$@
  99.